//
//  Man.h
//  07-内存管理
//
//  Created by 402030900@qq.com on 16/7/12.
//  Copyright © 2016年 402030900@qq.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Gay.h"
// 签订协议,在类继承后 <> 中添加协议,如果有多个,分割
@interface Man : NSObject<Gay,NSCopying>
// assign修饰
@property(nonatomic,assign)NSInteger number;
// retain修饰
@property(nonatomic,retain)NSString * name;
@property(nonatomic,retain)NSString * sexual;
// copy修饰
@property(nonatomic,copy)NSString * mId;
@property(nonatomic,copy)NSString * mDescription;
@property(nonatomic,retain)Man * gayBoy;
@end
